/**
 * PreferenceDialog.java
 * @author Daniel Liu
 * @version 2006-12-22 ����11:44:50
 */
package org.lex.ftp.ui.prefs;

import java.awt.Window;

import javax.swing.JDialog;

import org.lex.swing.prefs.ActionDecorator;
import org.lex.swing.prefs.PreferencesDialog;
import org.lex.swing.prefs.TitleDecorator;


public class FTPPreferenceDialog extends PreferencesDialog {
	public FTPPreferenceDialog(Window owner) {
		super(owner);
		initialize();
	}

	private void initialize() {
		this.loadCategories(TitleDecorator.decorate(ActionDecorator.decorate(new ConnectionCategory(), new SoundCategory(), new KeepAliveCategory(),
				new TransferRuleCategory())));
	}

	public static void main(String[] args) {
		JDialog dialog = new FTPPreferenceDialog(null);
		dialog.setLocationRelativeTo(null);
		dialog.setVisible(true);
	}
}
